package cn.wolfcode.wolf2w.elasticsearch.service.impl;

import cn.wolfcode.wolf2w.elasticsearch.domain.DestinationEs;
import cn.wolfcode.wolf2w.elasticsearch.repository.DestinationEsRepository;
import cn.wolfcode.wolf2w.elasticsearch.service.IDestinationEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 目的地的搜索服务类
 */
@Service
public class DestinationEsServiceImpl implements IDestinationEsService{

    @Autowired
    private DestinationEsRepository repository;

    @Override
    public void save(DestinationEs destinationEs) {
        repository.save(destinationEs);
    }
}
